package org.pearl.oauth2.authorizationserverdemo.pojo;


import lombok.Data;
import org.pearl.oauth2.authorizationserverdemo.entity.Permission;
import org.pearl.oauth2.authorizationserverdemo.entity.Role;
import java.io.Serializable;
import java.util.List;

/**
 * Created by TD on 2021/7/8
 */

@Data
public class UserInfoDO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long userId;

    private String userName;

    private String password;

    private String loginName;

    private Integer gender;

    private String phone;

    private String address;

    private Integer organizationId;

    private Boolean state;

    private String email;

    // 权限集合
    List<Permission> permissionList;

    // 角色集合
    List<Role> roleList;
}
